"use strict";
var express = require('express');
var router = express.Router();
var Project = require('./../../model/Project.js');

router.get('/layerList', function (req, res) {
    var prj = new Project(req.query.prjId);
    prj.getLayer()
        .then(function (data) {
            res.json(data);
        });
});


module.exports = router;